data modify entity @s text set value '[{"nbt": "item.components.\\"minecraft:custom_data\\".guardTowerData.healthDisplayTextComponent","entity": "@n[tag=guardTower,distance=..5,type=item_display]","interpret": true},"\\n",{"text": "❤: ","color": "green","extra": [{"nbt": "item.components.\\"minecraft:custom_data\\".guardTowerData.HP","entity": "@n[tag=guardTower,distance=..5,type=item_display]"}]}]'